Docs.rs
from_variant-2.0.0
from_variant 2.0.0
Docs.rs crate page
Apache-2.0
Links
Documentation
Repository
crates.io
Source
Owners
kdy1
swc-bot
Dependencies
proc-macro2 ^1.0.24
normal
swc_macros_common ^1.0.0
normal
syn ^2
normal
Versions
50%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
from_
variant
2.0.0
All Items
Crate Items
Derive Macros
Crate
from_variant
Copy item path
source
Derive Macros
ยง
From
Variant
Derives
From
for all variants. This only supports an enum where every variant has a single field.